import $request from '../utils/request'
//获取轮班图
export function getImages(data, method = 'get') {
  return $request({
    url: 'worker/index/imagees',
    method,
    data
  }, true)
}
// 获取热点列表
export function bbsList(data, method = 'get') {
  return $request({
    url: 'bbs/list',
    method,
    data
  }, true,true,true)
}

//获取列表详情
export function bbsDetail(data, method = 'get') {
  return $request({
    url: 'bbs/'+data,
    method,
    //data
  }, true)
}
//获取bbs内容
export function bbsDetailList(data, method = 'get') {
  return $request({
    url: 'bbs/info/'+data,
    method,
    //data
  }, true)
}